Skip to content

Implement continuous Prism research and guarded Astra execution - #4

Merged
justmycode37 merged 1 commit into
mainfrom
codex/prism-continuous-astra
Oct 30, 2026
Merged

justmycode37 merged 1 commit into
mainfrom
codex/prism-continuous-astra

Conversation

@justmycode37

Copy link
Copy Markdown
Owner

Prism now runs independent event-driven scheduling, research/review, market-data, execution, reconciliation, and protection workers. Sourced events and strategy candle boundaries replace the hourly research cadence; slow or budget-exhausted model calls do not stop monitoring or protective actions.

  • Persist source-backed calendar plans, interrupt conditions, durable task leases, strategy dossiers, review conclusions, and separate parent-linked revision experiments.
  • Add exact Bybit Spot/USDT linear identities, intraday market policies, WebSocket monitoring, REST gap recovery, immutable prospective evidence, and a real host-verified qualification gate. Preserve the existing daily-equity protocol.
  • Route operational GPT-6 Astra Responses tools through deterministic eligibility, allocation, freshness, liquidity, exposure, leverage, loss, expiry, and reconciliation controls. Implement durable V5 order identities, private streams, partial fills, fee currencies, funding, ambiguous-outcome recovery, and verified exchange protection.
  • Expose plans, data health, review lineage, actual order outcomes, exposure, risk, mode, and component budgets in the native console. Include operator configuration, role contracts, offline cost measurements, and the existing in-progress research/console improvements needed by the integrated tree.

Validation: all 359 offline Python tests passed; 35 focused tests passed after the final console projection change; Python compilation, Swift runtime contract checks, unsigned Debug Xcode build, and staged whitespace checks passed. Coverage includes earnings/DST/holiday scheduling, preemption, correct candle boundaries, review without collection, immutable revisions, full research-to-eligibility-to-Astra-to-simulated-fill integration, restarts, duplicate/partial fills, cancel races, stale/unauthorized intents, disabled mainnet, and actual worker isolation under model failure/budget exhaustion.

No installed service, trading/model credentials, paid research, or real orders were used. Paper is the default; live and mainnet remain disabled. Activation requires explicit account/instrument/version allowlists, allocations, the full risk envelope, mode-specific credentials, mainnet environment opt-in, current calendar sources, and operator Start. Authenticated external behavior still requires operator verification. Spot conditional orders do not reserve assets at the venue before trigger; sub-step dust is explicit, and local TTL/kill-switch actions require the host to run. This change makes no profitability or continuous-availability claim.

@justmycode37
justmycode37 merged commit 54837c9 into main Oct 30, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant